<?exit?>
<!--{template header}-->
<h2><a href="{S_URL}/"><img src="{S_URL}/templates/$_SCONFIG[template]/images/logo.gif" alt="$_SCONFIG[sitename]" /></a></h2>
</div>
</div><!--header end-->

<div id="pagebody">
<div id="pagebody_extbg">
	<div id="nav">
		<ul class="main_nav">
			<!--{if empty($_SCONFIG['defaultchannel'])}-->
			<li><a href="{S_URL}/index.php"><span>首页</span></a></li>
			<!--{/if}-->
			<!--{loop $channels['menus'] $key $value}-->
			<li><a href="$value[url]"><span>$value[name]</span></a></li>
			<!--{/loop}-->
		</ul>
	</div>
	
	<div class="column">	
	<div id="lostpw">
		
		<div class="lost_caption">
			<h1>&nbsp;</h1>
		</div>
		<!--{if empty($_GET['op'])}-->
		<!--{if empty($_POST['username'])}-->
		<div class="lost_content">
		<form method="post" action="{S_URL}/do.php?action=lostpasswd" name="lostpasswdform">
		<input type="hidden" name="lostpwsubmit" value="true"  />
		<table>
			<tbody>
				<tr>
					<th width="100"></th>
					<td class="tip_tx">
						第一步，请输入在本站注册的用户名。
					</td>
				</tr>
				<tr>
					<th>用户名</th>
					<td><input size="30" type="text" name="username" class="input_tx" value="" /> </td>
				</tr>
				<tr>
					<th></th>
					<td><input class="input_next" type="submit" value=""/></td>
				</tr>
			</tbody>
		</table>
		</form>
		</div>
		<!--{elseif empty($_POST['email'])}-->
		<div class="lost_content">
		<form method="post" action="{S_URL}/do.php?action=lostpasswd" name="lostpasswdform">
		<input type="hidden" name="username" value="$_POST[username]"  />
		<input type="hidden" name="lostpwsubmit" value="true"  />
		<table>
			<tbody>
				<tr>
					<th width="100"></th>
					<td class="tip_tx">
						第二步，请输入在本站注册的Email地址。
					</td>
				</tr>
				<tr>
					<th>邮箱</th>
					<td><input size="30" type="text" class="input_tx" name="email" value="$uemail" /> </td>
				</tr>
				<tr>
					<th></th>
					<td><input class="input_lostpw" type="submit" value=""/></td>
				</tr>
			</tbody>
		</table>
		</form>
		</div>
			
		<!--{/if}-->
		<!--{elseif $_GET['op'] == 'reset'}-->
		<div class="lost_content">
		<form method="post" action="{S_URL}/do.php?action=lostpasswd" name="lostpasswdform">
		<input type="hidden" name="resetpasswd" value="true"  />
		<input type="hidden" name="uid" value="$_GET[uid]"  />
		<input type="hidden" name="email" value="$user[2]"  />
		<input type="hidden" name="id" value="$_GET[id]"  />
		<table>
			<tbody>
				<tr>
					<th width="100">用户名</th>
					<td class="tip_tx">
						$member[username]
					</td>
				</tr>
				<tr>
					<th>新密码</th>
					<td><input size="30" type="password" name="newpasswd" class="input_tx" value="" /> </td>
				</tr>
				<tr>
					<th>确认新密码</th>
					<td><input size="30" type="password" name="newpasswd_check" class="input_tx" value="" /> </td>
				</tr>
				<tr>
					<th></th>
					<td><input class="input_next" type="submit" value=""/></td>
				</tr>
			</tbody>
		</table>
		</form>
		</div>
		<!--{/if}-->
	</div><!--lostpw end-->
	
	</div><!--column end-->
</div>
</div><!--pagebody end-->

<!--{template footer}-->